

const Index= ()=> import('../../views/index/index.js');
const Tab = ()=>import('../../views/tab/tab.js')

const  { createRouter,createWebHashHistory} =VueRouter;


const routes = [
    { path: '/', component: Index },
    { path: '/index', component: Index },
    { path: '/tab', component: Tab },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes: routes
})

export default router;